import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import index from '../views/index.vue'
import bottom from '../views/bottom.vue'
import photo from '../views/photo.vue'
import myhome from '../views/myhome.vue'
import search from '../views/search.vue'
import cate_sheet from '../components/cate_sheet.vue'
import fb from '../components/fb.vue'
import xc from '../components/xc.vue'
import cs from '../components/cs.vue'



Vue.use(VueRouter)

const routes = [
  {path:"/",component:Home},
 {path:"/index",component:Home},
 {path:"/bottom",component:bottom},
 {path:"/photo",component:photo},
 {path:"/myhome",component:myhome},
 {path:"/search",component:search},
 {path:"/cate_sheet",name:"cate_sheet",component:cate_sheet},
 {path:"/fb",component:fb},
 {path:"/xc",component:xc},
 {path:"/cs",component:cs},
]

const router = new VueRouter({
  routes
})

export default router
